package com.sm.honkon.ui.adapter

import android.widget.TextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.sm.honkon.R

class PopWindowAdapter(
    data: MutableList<String> = arrayListOf(),
    layoutResIdRes: Int = R.layout.item_pop_win_item
) :
    BaseQuickAdapter<String, BaseViewHolder>(layoutResIdRes, data) {


    override fun convert(helper: BaseViewHolder, item: String) {
        item.let {
            helper.apply {
                getView<TextView>(R.id.item_name).text = item
            }
        }
    }

}